<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__hppass__csg__functions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">API Reference</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions<div class="ingroups"><a class="el" href="group__group__hppass.html">HPPASS       (High Performance Programmable Analog Sub-System)</a> &raquo; <a class="el" href="group__group__hppass__csg.html">CSG (Comparator Slope Generator)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
API Reference</h2></td></tr>
<tr class="memitem:group__group__hppass__csg__dac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__dac.html">DAC functions</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__group__hppass__csg__comp"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__comp.html">Comparator functions</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga2f19f5ca7d25d29df462231b14e833b1"><td class="memItemLeft" align="right" valign="top">cy_rslt_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#ga2f19f5ca7d25d29df462231b14e833b1">Cy_HPPASS_CSG_Init</a> (const <a class="el" href="structcy__stc__hppass__csg__t.html">cy_stc_hppass_csg_t</a> *csgCfg)</td></tr>
<tr class="memdesc:ga2f19f5ca7d25d29df462231b14e833b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads the CSG configuration.  <a href="#ga2f19f5ca7d25d29df462231b14e833b1">More...</a><br /></td></tr>
<tr class="separator:ga2f19f5ca7d25d29df462231b14e833b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga381e95a2850629629f8372292c41542d"><td class="memItemLeft" align="right" valign="top"><a id="ga381e95a2850629629f8372292c41542d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#ga381e95a2850629629f8372292c41542d">Cy_HPPASS_CSG_DeInit</a> (void)</td></tr>
<tr class="memdesc:ga381e95a2850629629f8372292c41542d"><td class="mdescLeft">&#160;</td><td class="mdescRight">De-initializes the CSG block, returns register values to default. <br /></td></tr>
<tr class="separator:ga381e95a2850629629f8372292c41542d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac04f3279b2e51ddf046a6e58832dcc71"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#gac04f3279b2e51ddf046a6e58832dcc71">Cy_HPPASS_CSG_SliceConfig</a> (uint8_t sliceIdx, const <a class="el" href="structcy__stc__hppass__slice__t.html">cy_stc_hppass_slice_t</a> *slice)</td></tr>
<tr class="memdesc:gac04f3279b2e51ddf046a6e58832dcc71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures comparator and DAC for the specified CSG slice.  <a href="#gac04f3279b2e51ddf046a6e58832dcc71">More...</a><br /></td></tr>
<tr class="separator:gac04f3279b2e51ddf046a6e58832dcc71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga833b4fc99f6cd879dee979b486ad2d2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#ga833b4fc99f6cd879dee979b486ad2d2a">Cy_HPPASS_CSG_LoadWaveform</a> (uint8_t lutIdx, uint8_t dataIdx, uint8_t numSamples, const uint16_t *waveform)</td></tr>
<tr class="memdesc:ga833b4fc99f6cd879dee979b486ad2d2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets waveform data for the specified LUT.  <a href="#ga833b4fc99f6cd879dee979b486ad2d2a">More...</a><br /></td></tr>
<tr class="separator:ga833b4fc99f6cd879dee979b486ad2d2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga58a34d25c2987c49274ec835f676ccc4"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#ga58a34d25c2987c49274ec835f676ccc4">Cy_HPPASS_DAC_GetInterruptStatus</a> (void)</td></tr>
<tr class="memdesc:ga58a34d25c2987c49274ec835f676ccc4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the interrupt register status for the specified DAC.  <a href="#ga58a34d25c2987c49274ec835f676ccc4">More...</a><br /></td></tr>
<tr class="separator:ga58a34d25c2987c49274ec835f676ccc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c30af70bc84387973d5414f6dd19d29"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#ga9c30af70bc84387973d5414f6dd19d29">Cy_HPPASS_DAC_ClearInterrupt</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga9c30af70bc84387973d5414f6dd19d29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the interrupt for the specified DAC.  <a href="#ga9c30af70bc84387973d5414f6dd19d29">More...</a><br /></td></tr>
<tr class="separator:ga9c30af70bc84387973d5414f6dd19d29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9533f7d2c9ed80d092a1b2ed1493a21c"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#ga9533f7d2c9ed80d092a1b2ed1493a21c">Cy_HPPASS_DAC_SetInterrupt</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga9533f7d2c9ed80d092a1b2ed1493a21c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a software interrupt request for the specified DAC.  <a href="#ga9533f7d2c9ed80d092a1b2ed1493a21c">More...</a><br /></td></tr>
<tr class="separator:ga9533f7d2c9ed80d092a1b2ed1493a21c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga91bcc4570db1fc98f79d625e3389fa8f"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#ga91bcc4570db1fc98f79d625e3389fa8f">Cy_HPPASS_DAC_SetInterruptMask</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga91bcc4570db1fc98f79d625e3389fa8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the interrupt for the specified DAC.  <a href="#ga91bcc4570db1fc98f79d625e3389fa8f">More...</a><br /></td></tr>
<tr class="separator:ga91bcc4570db1fc98f79d625e3389fa8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf6db8cba5b7a1f72b68b5ad5f8f4f1b2"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#gaf6db8cba5b7a1f72b68b5ad5f8f4f1b2">Cy_HPPASS_DAC_GetInterruptMask</a> (void)</td></tr>
<tr class="memdesc:gaf6db8cba5b7a1f72b68b5ad5f8f4f1b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the interrupt mask for the specified DAC.  <a href="#gaf6db8cba5b7a1f72b68b5ad5f8f4f1b2">More...</a><br /></td></tr>
<tr class="separator:gaf6db8cba5b7a1f72b68b5ad5f8f4f1b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa47b3ccf47f3a364d91e66d3aa432f4b"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#gaa47b3ccf47f3a364d91e66d3aa432f4b">Cy_HPPASS_DAC_GetInterruptStatusMasked</a> (void)</td></tr>
<tr class="memdesc:gaa47b3ccf47f3a364d91e66d3aa432f4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets all DACs interrupt masked status.  <a href="#gaa47b3ccf47f3a364d91e66d3aa432f4b">More...</a><br /></td></tr>
<tr class="separator:gaa47b3ccf47f3a364d91e66d3aa432f4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga313730db842678cdb21d2eeaf8265aad"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#ga313730db842678cdb21d2eeaf8265aad">Cy_HPPASS_Comp_GetInterruptStatus</a> (void)</td></tr>
<tr class="memdesc:ga313730db842678cdb21d2eeaf8265aad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the interrupt register status for the specified comparator.  <a href="#ga313730db842678cdb21d2eeaf8265aad">More...</a><br /></td></tr>
<tr class="separator:ga313730db842678cdb21d2eeaf8265aad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga70922b9d70ef1a948ef287a2d27e2960"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#ga70922b9d70ef1a948ef287a2d27e2960">Cy_HPPASS_Comp_ClearInterrupt</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga70922b9d70ef1a948ef287a2d27e2960"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the interrupt for the specified comparator.  <a href="#ga70922b9d70ef1a948ef287a2d27e2960">More...</a><br /></td></tr>
<tr class="separator:ga70922b9d70ef1a948ef287a2d27e2960"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8ed24153f395a24df7fe94a81d49dfbc"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#ga8ed24153f395a24df7fe94a81d49dfbc">Cy_HPPASS_Comp_SetInterrupt</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga8ed24153f395a24df7fe94a81d49dfbc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a software interrupt request for the specified comparator.  <a href="#ga8ed24153f395a24df7fe94a81d49dfbc">More...</a><br /></td></tr>
<tr class="separator:ga8ed24153f395a24df7fe94a81d49dfbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa791cc0088e9bcf4c40173d71cd69b84"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#gaa791cc0088e9bcf4c40173d71cd69b84">Cy_HPPASS_Comp_SetInterruptMask</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:gaa791cc0088e9bcf4c40173d71cd69b84"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the interrupt for the specified comparator.  <a href="#gaa791cc0088e9bcf4c40173d71cd69b84">More...</a><br /></td></tr>
<tr class="separator:gaa791cc0088e9bcf4c40173d71cd69b84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada8a98388759b02f595915123d278e0e"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#gada8a98388759b02f595915123d278e0e">Cy_HPPASS_Comp_GetInterruptMask</a> (void)</td></tr>
<tr class="memdesc:gada8a98388759b02f595915123d278e0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the interrupt mask for the specified comparator.  <a href="#gada8a98388759b02f595915123d278e0e">More...</a><br /></td></tr>
<tr class="separator:gada8a98388759b02f595915123d278e0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga607d2485fafd6e33ed5520328069ffea"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__csg__functions.html#ga607d2485fafd6e33ed5520328069ffea">Cy_HPPASS_Comp_GetInterruptStatusMasked</a> (void)</td></tr>
<tr class="memdesc:ga607d2485fafd6e33ed5520328069ffea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets all comparators interrupt masked status.  <a href="#ga607d2485fafd6e33ed5520328069ffea">More...</a><br /></td></tr>
<tr class="separator:ga607d2485fafd6e33ed5520328069ffea"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga2f19f5ca7d25d29df462231b14e833b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2f19f5ca7d25d29df462231b14e833b1">&#9670;&nbsp;</a></span>Cy_HPPASS_CSG_Init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cy_rslt_t Cy_HPPASS_CSG_Init </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structcy__stc__hppass__csg__t.html">cy_stc_hppass_csg_t</a> *&#160;</td>
          <td class="paramname"><em>csgCfg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Loads the CSG configuration. </p>
<p>Can be used after the <a class="el" href="group__group__hppass__cfg__functions.html#ga8d22889d8dd8c3fd87df1db2869a6956">Cy_HPPASS_Init</a> function to update the CSG settings.</p>
<dl class="section note"><dt>Note</dt><dd>If AC is running the initialization of GSC block is not allowed (<a class="el" href="group__group__hppass__enums.html#gga14c32a49b351302efcaf56b2e5075e00a7f6c5e025421582710cadfffcada200c">CY_HPPASS_AC_INVALID_STATE</a> will be returned).</dd>
<dd>
Since the 'block ready' status is combined SAR and CSG, this particular CSG function cannot be protected from reinitialization during active operation, so it is on user's responsibility when and from where to call this function to reinitialize the CSG block.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">csgCfg</td><td>Pointer to the CSG configuration structure <a class="el" href="structcy__stc__hppass__csg__t.html">cy_stc_hppass_csg_t</a>. The pointer cannot be NULL.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The combined status of all the configured slices initialization, <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>. </dd></dl>

</div>
</div>
<a id="gac04f3279b2e51ddf046a6e58832dcc71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac04f3279b2e51ddf046a6e58832dcc71">&#9670;&nbsp;</a></span>Cy_HPPASS_CSG_SliceConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a> Cy_HPPASS_CSG_SliceConfig </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>sliceIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcy__stc__hppass__slice__t.html">cy_stc_hppass_slice_t</a> *&#160;</td>
          <td class="paramname"><em>slice</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures comparator and DAC for the specified CSG slice. </p>
<dl class="section note"><dt>Note</dt><dd>If AC is running this configuration is not allowed (<a class="el" href="group__group__hppass__enums.html#gga14c32a49b351302efcaf56b2e5075e00a7f6c5e025421582710cadfffcada200c">CY_HPPASS_AC_INVALID_STATE</a> will be returned).</dd>
<dd>
If the DAC block is currently busy this configuration is not allowed (<a class="el" href="group__group__hppass__enums.html#gga14c32a49b351302efcaf56b2e5075e00abd4bbe0f05dba179bad53fcffaaafc07">CY_HPPASS_CSG_INVALID_STATE</a> will be returned).</dd>
<dd>
Since the 'block ready' status is combined SAR and CSG, this particular CSG function cannot be protected from reinitialization during active operation, so it is on user's responsibility when and from where to call this function to reinitialize the CSG Slice.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sliceIdx</td><td>The CSG slice. Valid range: 0..4.</td></tr>
    <tr><td class="paramname">slice</td><td>Pointer to the CSG slice configuration structure <a class="el" href="structcy__stc__hppass__slice__t.html">cy_stc_hppass_slice_t</a>. The pointer cannot be NULL.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Status of initialization, <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>. </dd></dl>

</div>
</div>
<a id="ga833b4fc99f6cd879dee979b486ad2d2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga833b4fc99f6cd879dee979b486ad2d2a">&#9670;&nbsp;</a></span>Cy_HPPASS_CSG_LoadWaveform()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a> Cy_HPPASS_CSG_LoadWaveform </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>lutIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>dataIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>numSamples</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint16_t *&#160;</td>
          <td class="paramname"><em>waveform</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets waveform data for the specified LUT. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lutIdx</td><td>The LUT index. Valid range: 0..1.</td></tr>
    <tr><td class="paramname">dataIdx</td><td>Start index of the waveform in the lookup table. Valid range: 0..127.</td></tr>
    <tr><td class="paramname">numSamples</td><td>Number of samples for the waveform. Valid range: 1..128. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>numSamples is not greater than the waveform array size. </dd>
<dd>
The sum of dataIdx and numSamples should be less or equal to 128.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">waveform</td><td>The pointer to LUT data array, max size is 128. The pointer cannot be NULL.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Status of initialization, <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>. </dd></dl>

</div>
</div>
<a id="ga58a34d25c2987c49274ec835f676ccc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga58a34d25c2987c49274ec835f676ccc4">&#9670;&nbsp;</a></span>Cy_HPPASS_DAC_GetInterruptStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_DAC_GetInterruptStatus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the interrupt register status for the specified DAC. </p>
<dl class="section return"><dt>Returns</dt><dd>The status of combined interrupt requests for the DAC <a class="el" href="group__group__csg__dac__interrupts.html">DAC Interrupt Masks</a>. </dd></dl>

</div>
</div>
<a id="ga9c30af70bc84387973d5414f6dd19d29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9c30af70bc84387973d5414f6dd19d29">&#9670;&nbsp;</a></span>Cy_HPPASS_DAC_ClearInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_DAC_ClearInterrupt </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the interrupt for the specified DAC. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts to clear. Each bit of this mask is responsible for clearing of the particular interrupt in the DAC <a class="el" href="group__group__csg__dac__interrupts.html">DAC Interrupt Masks</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga9533f7d2c9ed80d092a1b2ed1493a21c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9533f7d2c9ed80d092a1b2ed1493a21c">&#9670;&nbsp;</a></span>Cy_HPPASS_DAC_SetInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_DAC_SetInterrupt </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a software interrupt request for the specified DAC. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts to set. Each bit of this mask is responsible for triggering of the particular interrupt in the DAC <a class="el" href="group__group__csg__dac__interrupts.html">DAC Interrupt Masks</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga91bcc4570db1fc98f79d625e3389fa8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga91bcc4570db1fc98f79d625e3389fa8f">&#9670;&nbsp;</a></span>Cy_HPPASS_DAC_SetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_DAC_SetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the interrupt for the specified DAC. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts allowable for activation. Each bit of this mask allows triggering of the particular interrupt in the DAC <a class="el" href="group__group__csg__dac__interrupts.html">DAC Interrupt Masks</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaf6db8cba5b7a1f72b68b5ad5f8f4f1b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf6db8cba5b7a1f72b68b5ad5f8f4f1b2">&#9670;&nbsp;</a></span>Cy_HPPASS_DAC_GetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_DAC_GetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the interrupt mask for the specified DAC. </p>
<dl class="section return"><dt>Returns</dt><dd>The mask of the interrupts allowable for activation <a class="el" href="group__group__csg__dac__interrupts.html">DAC Interrupt Masks</a>. </dd></dl>

</div>
</div>
<a id="gaa47b3ccf47f3a364d91e66d3aa432f4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa47b3ccf47f3a364d91e66d3aa432f4b">&#9670;&nbsp;</a></span>Cy_HPPASS_DAC_GetInterruptStatusMasked()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_DAC_GetInterruptStatusMasked </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets all DACs interrupt masked status. </p>
<dl class="section return"><dt>Returns</dt><dd>The masked status of combined interrupt requests for the DAC <a class="el" href="group__group__csg__dac__interrupts.html">DAC Interrupt Masks</a>. </dd></dl>

</div>
</div>
<a id="ga313730db842678cdb21d2eeaf8265aad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga313730db842678cdb21d2eeaf8265aad">&#9670;&nbsp;</a></span>Cy_HPPASS_Comp_GetInterruptStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_Comp_GetInterruptStatus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the interrupt register status for the specified comparator. </p>
<dl class="section return"><dt>Returns</dt><dd>The status of combined interrupt requests for the Comparator <a class="el" href="group__group__csg__cmp__interrupts.html">Comparator Interrupt Masks</a>. </dd></dl>

</div>
</div>
<a id="ga70922b9d70ef1a948ef287a2d27e2960"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga70922b9d70ef1a948ef287a2d27e2960">&#9670;&nbsp;</a></span>Cy_HPPASS_Comp_ClearInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_Comp_ClearInterrupt </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the interrupt for the specified comparator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts to clear. Each bit of this mask is responsible for clearing of the particular interrupt in the Comparator <a class="el" href="group__group__csg__cmp__interrupts.html">Comparator Interrupt Masks</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga8ed24153f395a24df7fe94a81d49dfbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8ed24153f395a24df7fe94a81d49dfbc">&#9670;&nbsp;</a></span>Cy_HPPASS_Comp_SetInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_Comp_SetInterrupt </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a software interrupt request for the specified comparator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts to set. Each bit of this mask is responsible for triggering of the particular interrupt in the Comparator <a class="el" href="group__group__csg__cmp__interrupts.html">Comparator Interrupt Masks</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaa791cc0088e9bcf4c40173d71cd69b84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa791cc0088e9bcf4c40173d71cd69b84">&#9670;&nbsp;</a></span>Cy_HPPASS_Comp_SetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_Comp_SetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the interrupt for the specified comparator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts allowable for activation. Each bit of this mask allows triggering of the particular interrupt in the Comparator <a class="el" href="group__group__csg__cmp__interrupts.html">Comparator Interrupt Masks</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gada8a98388759b02f595915123d278e0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gada8a98388759b02f595915123d278e0e">&#9670;&nbsp;</a></span>Cy_HPPASS_Comp_GetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_Comp_GetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the interrupt mask for the specified comparator. </p>
<dl class="section return"><dt>Returns</dt><dd>The mask of the interrupts allowable for activation <a class="el" href="group__group__csg__cmp__interrupts.html">Comparator Interrupt Masks</a>. </dd></dl>

</div>
</div>
<a id="ga607d2485fafd6e33ed5520328069ffea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga607d2485fafd6e33ed5520328069ffea">&#9670;&nbsp;</a></span>Cy_HPPASS_Comp_GetInterruptStatusMasked()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_Comp_GetInterruptStatusMasked </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets all comparators interrupt masked status. </p>
<dl class="section return"><dt>Returns</dt><dd>The masked status of combined interrupt requests for the Comparator <a class="el" href="group__group__csg__cmp__interrupts.html">Comparator Interrupt Masks</a>. </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
